package com.youzan.cloud.biz.integral.dal.dataobj;

import lombok.*;

import java.util.Date;

/**
 * @author hlin
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
public class PointChange {
    private Long id;
    /**
     * 业务标识
     */
    private String bizNo;
    /**
     * 写入业务状态
     * success成功
     * fail  同步失败
     */
    private String syncStatus;
    private String kdtId;
    private String yzOpenId;
    /**
     * 总积分变动
     */
    private Integer changePoints;
    /**
     * 可用积分变动
     */
    private Integer changeUsablePoints;
    /**
     * 积分操作类型： 增加、减少
     */
    private Integer actionType;

    /**
     * 积分业务类型： 奖励、冻结、解冻、消耗
     */
    private Integer pointType;
    /**
     * 积分备注
     */
    private String comment;
    private Date createdAt;
    private Date updatedAt;

}
